// @Author EthanScriptOn
// @Desc
package bridge

import (
	"gitee.com/fatzeng/srf_switch_basic_components/common/identity"
	"gitee.com/fatzeng/srf_switch_basic_components/manager"
)

var BridgeConfigCenter = new(manager.ResourceManager)

func AddBridgeConfig(configInstance identity.IdentityInformation) (err error) {
	return BridgeConfigCenter.AddResource(configInstance)
}

func GetBridgeConfig(identifier interface{}) interface{} {
	return BridgeConfigCenter.GetResource(identifier)
}
